package com.bl.pojo.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("返回实体类")
public class BaseResult {
    @ApiModelProperty("返回值状态 1-->成功 0-->失败")
    private Integer code;
    @ApiModelProperty("返回值描述")
    private String msg;
    @ApiModelProperty("返回值")
    private Object data;
    @ApiModelProperty("返回值数量")
    private Long total;
}
